data = {'disk': {
	'status': True,
	'error': None,
	'data':
		{'0': {'slot': '0', 'pd_type': 'SAS', 'capacity': '279.396',
			   'model': 'SEAGATE ST300MM0006     LS08S0K2B5NV'},
		 '1': {'slot': '1', 'pd_type': 'SAS', 'capacity': '279.396',
			   'model': 'SEAGATE ST300MM0006     LS08S0K2B5AH'},
		 '2': {'slot': '2', 'pd_type': 'SATA', 'capacity': '476.939',
			   'model': 'S1SZNSAFA01085L     Samsung SSD 850 PRO 512GB               EXM01B6Q'},
		 '3': {'slot': '3', 'pd_type': 'SATA', 'capacity': '476.939',
			   'model': 'S1AXNSAF912433K     Samsung SSD 840 PRO Series              DXM06B0Q'},
		 '4': {'slot': '4', 'pd_type': 'SATA', 'capacity': '476.939',
			   'model': 'S1AXNSAF303909M     Samsung SSD 840 PRO Series              DXM05B0Q'},
		 '5': {'slot': '5', 'pd_type': 'SATA', 'capacity': '476.939',
			   'model': 'S1AXNSAFB00549A     Samsung SSD 840 PRO Series              DXM06B0Q'}}}
	,
	'memory':
		{'DIMM #0': {'capacity': 1024, 'slot': 'DIMM #0', 'model': 'DRAM', 'speed': '667 MHz',
					 'manufacturer': 'Not Specified', 'sn': 'Not Specified'},
		 'DIMM #1': {'capacity': 0, 'slot': 'DIMM #1', 'model': 'DRAM', 'speed': '667 MHz',
					 'manufacturer': 'Not Specified', 'sn': 'Not Specified'},
		 'DIMM #2': {'capacity': 0, 'slot': 'DIMM #2', 'model': 'DRAM', 'speed': '667 MHz',
					 'manufacturer': 'Not Specified', 'sn': 'Not Specified'},
		 'DIMM #3': {'capacity': 0, 'slot': 'DIMM #3', 'model': 'DRAM', 'speed': '667 MHz',
					 'manufacturer': 'Not Specified', 'sn': 'Not Specified'},
		 'DIMM #4': {'capacity': 0, 'slot': 'DIMM #4', 'model': 'DRAM', 'speed': '667 MHz',
					 'manufacturer': 'Not Specified', 'sn': 'Not Specified'},
		 'DIMM #5': {'capacity': 0, 'slot': 'DIMM #5', 'model': 'DRAM', 'speed': '667 MHz',
					 'manufacturer': 'Not Specified', 'sn': 'Not Specified'},
		 'DIMM #6': {'capacity': 0, 'slot': 'DIMM #6', 'model': 'DRAM', 'speed': '667 MHz',
					 'manufacturer': 'Not Specified', 'sn': 'Not Specified'},
		 'DIMM #7': {'capacity': 0, 'slot': 'DIMM #7', 'model': 'DRAM', 'speed': '667 MHz',
					 'manufacturer': 'Not Specified', 'sn': 'Not Specified'}},
	'NIC': {
		'eth0': {'up': True, 'hwaddr': '00:1c:42:a5:57:7a', 'ipaddrs': '10.211.55.4', 'netmask': '255.255.255.0'}}}

da = {'disk': {'status': False,
			   'error': 'Traceback (most recent call last):\n  File "E:\\s19\\teaching_plan\\CMDB\\autoclient\\src\\plugins\\disk.py", line 20, in linux\n    with open(os.path.join(self.base_dir, \'files\', \'disk\')) as f:\nFileNotFoundError: [Errno 2] No such file or directory: \'E:\\\\s19\\\\teaching_plan\\\\CMDB\\\\autoclient\\\\files\\\\disk\'\n',
			   'data': None},
	  'memory': {'status': True, 'error': None, 'data': {
		  'DIMM #0': {'capacity': 1024, 'slot': 'DIMM #0', 'model': 'DRAM', 'speed': '667 MHz',
					  'manufacturer': 'Not Specified', 'sn': 'Not Specified'},
		  'DIMM #1': {'capacity': 0, 'slot': 'DIMM #1', 'model': 'DRAM', 'speed': '667 MHz',
					  'manufacturer': 'Not Specified',
					  'sn': 'Not Specified'},
		  'DIMM #2': {'capacity': 0, 'slot': 'DIMM #2', 'model': 'DRAM', 'speed': '667 MHz',
					  'manufacturer': 'Not Specified',
					  'sn': 'Not Specified'},
		  'DIMM #3': {'capacity': 0, 'slot': 'DIMM #3', 'model': 'DRAM', 'speed': '667 MHz',
					  'manufacturer': 'Not Specified',
					  'sn': 'Not Specified'},
		  'DIMM #4': {'capacity': 0, 'slot': 'DIMM #4', 'model': 'DRAM', 'speed': '667 MHz',
					  'manufacturer': 'Not Specified',
					  'sn': 'Not Specified'},
		  'DIMM #5': {'capacity': 0, 'slot': 'DIMM #5', 'model': 'DRAM', 'speed': '667 MHz',
					  'manufacturer': 'Not Specified',
					  'sn': 'Not Specified'},
		  'DIMM #6': {'capacity': 0, 'slot': 'DIMM #6', 'model': 'DRAM', 'speed': '667 MHz',
					  'manufacturer': 'Not Specified',
					  'sn': 'Not Specified'},
		  'DIMM #7': {'capacity': 0, 'slot': 'DIMM #7', 'model': 'DRAM', 'speed': '667 MHz',
					  'manufacturer': 'Not Specified',
					  'sn': 'Not Specified'}}},
	  'NIC': {'status': True, 'error': None, 'data': {
		  'eth0': {'up': True, 'hwaddr': '00:1c:42:a5:57:7a', 'ipaddrs': '10.211.55.4', 'netmask': '255.255.255.0'}}}}

data = {'basic': {'status': True, 'error': None,
				  'data': {'os_platform': 'linux', 'os_version': '6.5', 'hostname': 'c2.com'}},
		'disk': {'status': True, 'error': None, 'data': {'0': {'slot': '0', 'pd_type': 'SAS', 'capacity': '279.396',
															   'model': 'SEAGATE ST300MM0006     LS08S0K2B5NV'},
														 '1': {'slot': '1', 'pd_type': 'SAS', 'capacity': '279.396',
															   'model': 'SEAGATE ST300MM0006     LS08S0K2B5AH'},
														 '2': {'slot': '2', 'pd_type': 'SATA', 'capacity': '476.939',
															   'model': 'S1SZNSAFA01085L     Samsung SSD 850 PRO 512GB               EXM01B6Q'},
														 '3': {'slot': '3', 'pd_type': 'SATA', 'capacity': '476.939',
															   'model': 'S1AXNSAF912433K     Samsung SSD 840 PRO Series              DXM06B0Q'},
														 '4': {'slot': '4', 'pd_type': 'SATA', 'capacity': '476.939',
															   'model': 'S1AXNSAF303909M     Samsung SSD 840 PRO Series              DXM05B0Q'},
														 '5': {'slot': '5', 'pd_type': 'SATA', 'capacity': '476.939',
															   'model': 'S1AXNSAFB00549A     Samsung SSD 840 PRO Series              DXM06B0Q'}}},
		'memory': {'status': True, 'error': None, 'data': {
			'DIMM #0': {'capacity': 1024, 'slot': 'DIMM #0', 'model': 'DRAM', 'speed': '667 MHz',
						'manufacturer': 'Not Specified', 'sn': 'Not Specified'},
			'DIMM #1': {'capacity': 0, 'slot': 'DIMM #1', 'model': 'DRAM', 'speed': '667 MHz',
						'manufacturer': 'Not Specified', 'sn': 'Not Specified'},
			'DIMM #2': {'capacity': 0, 'slot': 'DIMM #2', 'model': 'DRAM', 'speed': '667 MHz',
						'manufacturer': 'Not Specified', 'sn': 'Not Specified'},
			'DIMM #3': {'capacity': 0, 'slot': 'DIMM #3', 'model': 'DRAM', 'speed': '667 MHz',
						'manufacturer': 'Not Specified', 'sn': 'Not Specified'},
			'DIMM #4': {'capacity': 0, 'slot': 'DIMM #4', 'model': 'DRAM', 'speed': '667 MHz',
						'manufacturer': 'Not Specified', 'sn': 'Not Specified'},
			'DIMM #5': {'capacity': 0, 'slot': 'DIMM #5', 'model': 'DRAM', 'speed': '667 MHz',
						'manufacturer': 'Not Specified', 'sn': 'Not Specified'},
			'DIMM #6': {'capacity': 0, 'slot': 'DIMM #6', 'model': 'DRAM', 'speed': '667 MHz',
						'manufacturer': 'Not Specified', 'sn': 'Not Specified'},
			'DIMM #7': {'capacity': 0, 'slot': 'DIMM #7', 'model': 'DRAM', 'speed': '667 MHz',
						'manufacturer': 'Not Specified', 'sn': 'Not Specified'}}},
		'NIC': {'status': True, 'error': None, 'data': {
			'eth0': {'up': True, 'hwaddr': '00:1c:42:a5:57:7a', 'ipaddrs': '10.211.55.4', 'netmask': '255.255.255.0'}}},
		'board': {'status': True, 'error': None, 'data': {'manufacturer': 'Parallels Software International Inc.',
														  'model': 'Parallels Virtual Platform',
														  'sn': 'Parallels-1A 1B CB 3B 64 66 4B 13 86 B0 86 FF 7E 2B 20 30'}},
		'cpu': {'status': True, 'error': None, 'data': {'cpu_count': 24, 'cpu_physical_count': 2,
														'cpu_model': ' Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz'}}}
